package com.dotstone.chipism.bean;

import com.dotstone.chipism.util.Util;

public class Share {
	private String time;
	private int type; // 1、家人 2、朋友 3、租戶 4、 转移
	private String name;
	private String shareId;
	private String createUser;
	private String shareInfoId;
	private String shareUser;
	private String shareRemarks;
	private long createTime;
	private String shareMobile;
	private String hid;

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Share(String time, int type, String name) {
		super();
		this.time = time;
		this.type = type;
		this.name = name;
	}

	public String getShareId() {
		return shareId;
	}

	public void setShareId(String shareId) {
		this.shareId = shareId;
	}

	public String getCreateUser() {
		return createUser;
	}

	public String getShareUser() {
		return shareUser;
	}

	public void setShareUser(String shareUser) {
		this.shareUser = shareUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getShareRemarks() {
		return shareRemarks;
	}

	public void setShareRemarks(String shareRemarks) {
		this.shareRemarks = shareRemarks;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public String getShareInfoId() {
		return shareInfoId;
	}

	public void setShareInfoId(String shareInfoId) {
		this.shareInfoId = shareInfoId;
	}

	public String getShareMobile() {
		return shareMobile;
	}

	public void setShareMobile(String shareMobile) {
		this.shareMobile = shareMobile;
	}

	public String getHid() {
		return hid;
	}

	public void setHid(String hid) {
		this.hid = hid;
	}

	public Share(String shareId, String createUser,String shareInfoId, String shareUser,
			String shareRemarks, long createTime, String shareMobile, String hid) {
		super();
		this.shareId = shareId;
		this.createUser = createUser;
		this.shareInfoId = shareInfoId;
		this.shareUser = shareUser;
		this.shareRemarks = shareRemarks;
		this.createTime = createTime;
		this.shareMobile = shareMobile;
		this.hid = hid;
		time = Util.getInstallTime(createTime);
	}

}
